﻿CREATE PROCEDURE [dbo].[users_get_by_email_or_login]
    @email nvarchar(256)
AS
    SELECT
    [UserId],
    [Email],
    [Password],
    [Salt],
    [Login],
    [RegistrationDate],
    [Status]
FROM [dbo].[Users] 
WHERE
    Users.[Email]=@email or Users.[Login]=@email
RETURN 0

